package com.jacklin.form;


import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

@Data
public class CategoryForm {


    private Integer categoryId;

    /**类目名字*/
    @NotBlank(message = "类目名字不能为空")
    private String categoryName;

    /**类目编号，这里主键和编号不是同一个对象*/
    private Integer categoryType;
}
